<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

 if(request.getAttribute("error")!=null){
	out.println(request.getAttribute("error").toString());
	}
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>insert_how</title>
    <link href="../style/main.css" rel="stylesheet" type="text/css" />
    <link href="../style/ZuCe.css" rel="stylesheet" type="text/css" />
    <link href="../style/table.css" rel="stylesheet" type="text/css" />
 </head>
  <body style="text-align:center">
		<div class="MainTop"><img src="../images/maintopright.gif" /></div>
	    <div class="MainBar">
	    	<p style="text-indent:2em; text-align:left"> 你现在的位置: > >修改作品</p>
	    </div>
    	<form action="showWorkAction.do?method=updateShow" method="post" enctype="multipart/form-data">
			<div id="container">
				<div id="content">
					<logic:present name="showWorkForm" scope="request">
						<table cellspacing="0" cellpadding="0">
							<tr>
								<td rowspan="2" width="160px"><IMG height=10 width=10 src=""></td>
								<td>作品ID:</td>
								<td><input name="show_id" type="text" class="InputStyle" value="<bean:write name="updateShow" property="show_id"/>" readonly /></td>
							</tr>
							<tr>
								<td>作品名称:</td>
								<td><input name="show_name" type="text" class="InputStyle" value="<bean:write name="updateShow" property="show_name"/>" /></td>
								
							</tr>			
							<tr>
					 			<td style="text-align:left;text-indent:0.5em;">请选择上传的图片: <input type="file" name="file" size="30" /></td>
								<td>上传时间:</td>
								<td><input name="show_time" type="text" class="InputStyle" value="<bean:write name="updateShow" property="show_time"/>" /></td>
						 	</tr>
							<tr>
							  <td colspan="3" style="text-align:left;text-indent:0.5em;">作品简介:</td>
						  </tr>
							<tr>
							  <td colspan="3"><textarea name="show_content" id="textarea" cols="80" rows="5" value="<bean:write name="updateShow" property="show_content" /> "></textarea></td>
						  </tr>
						  <tr>
						  	<td colspan="3" class="ZuCe"><input type="image" src="../images/upload.gif" alt="上传" /></td>
						  </tr>
						</table>
					</logic:present>
				</div>
			</div>
		</form>
  </body>
</html>
